package com.bkaka.service;


import com.bkaka.entity.ExamAnswerHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by maxiaoqiang on 2018/9/19.
 */

public interface ExamAnswerHistoryServer {
    void create(ExamAnswerHistory history);

    void update(ExamAnswerHistory history);

    List<ExamAnswerHistory> findByPaperId(@Param("examPaperId") Integer examPaperId);

    List<ExamAnswerHistory> countScore(@Param("chapterId") Integer chapterId, @Param("paperId") Integer paperId);

    ExamAnswerHistory findById(@Param("id") Integer id);
}
